package org.yfl.mbg.enhance.constants;

/**
 * 常量类
 * @author yanfeilin
 * @version 1.0.0
 * @date 2020/5/20 22:20
 */
public class CommonConstants {

    /**配置文件名称*/
    public static final String CONFIG_FILE_NAME="/code-generator.properties";

    /**windows classpath分割符*/
    public static final String WINDOWS_CLASSPATH_SPLIT = ";";

    /**linux classpath分割符*/
    public static final String LINUX_CLASSPATH_SPLIT = ":";

    /**jpa框架标志类*/
    public static final String JPA_FLAG_CLASS = "javax.persistence.Entity";

    /**mybatis框架标志类*/
    public static final String MYBATIS_FLAG_CLASS = "org.apache.ibatis.session.SqlSession";

    /**java代码目录*/
    public static final String MAIN_SOURCE_DIR = "/src/main/java/";

    /**主要资源目录*/
    public static final String MAIN_RESOURCE_DIR = "/src/main/resources/";

    /**java文件后缀*/
    public static final String JAVA_FILE_SUFFIX = ".java";

    /**xml文件后缀*/
    public static final String XML_FILE_SUFFIX = ".xml";

    /**windows系统换行符*/
    public static final String LINE_SEPARATOR_WINDOWS = "\r\n";

    public static final String DEFAULT_DATE_TIME_FORMAT = "yyyy/MM/dd HH:mm";
}
